[INFO] cloning repository https://github.com/robmikh/wgc-rust-demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robmikh/wgc-rust-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobmikh%2Fwgc-rust-demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobmikh%2Fwgc-rust-demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d0e89b0e2bdd7d00db469325012c660eddfb8309
[INFO] building robmikh/wgc-rust-demo against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobmikh%2Fwgc-rust-demo" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/robmikh/wgc-rust-demo on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/robmikh/wgc-rust-demo
[INFO] finished tweaking git repo https://github.com/robmikh/wgc-rust-demo
[INFO] tweaked toml for git repo https://github.com/robmikh/wgc-rust-demo written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/robmikh/wgc-rust-demo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/microsoft/winrt-rs`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e128496b5ec65483f5fec13b934f63b6361cec266bd57079ba2ae9d470d705e4
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e128496b5ec65483f5fec13b934f63b6361cec266bd57079ba2ae9d470d705e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e128496b5ec65483f5fec13b934f63b6361cec266bd57079ba2ae9d470d705e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e128496b5ec65483f5fec13b934f63b6361cec266bd57079ba2ae9d470d705e4", kill_on_drop: false }`
[INFO] [stdout] e128496b5ec65483f5fec13b934f63b6361cec266bd57079ba2ae9d470d705e4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 93a5c74f9d3a0d29cebc56b5b391c8cc45b2a06a91d0c1c0ba9251feb139b5ba
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "93a5c74f9d3a0d29cebc56b5b391c8cc45b2a06a91d0c1c0ba9251feb139b5ba", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling syn v1.0.19
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling sha1 v0.6.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling winapi v0.3.8
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling gif v0.10.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.12
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling quote v1.0.4
[INFO] [stderr]    Compiling deflate v0.8.4
[INFO] [stderr]    Compiling tiff v0.4.0
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling crossbeam-queue v0.2.1
[INFO] [stderr]    Compiling png v0.16.3
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling uuid v0.8.1
[INFO] [stderr]    Compiling rayon v1.3.0
[INFO] [stderr]    Compiling jpeg-decoder v0.1.19
[INFO] [stderr]    Compiling image v0.23.4
[INFO] [stderr]    Compiling winmd_macros v0.1.0 (https://github.com/microsoft/winrt-rs#a036b8e6)
[INFO] [stderr]    Compiling winmd v0.1.0 (https://github.com/microsoft/winrt-rs#a036b8e6)
[INFO] [stderr]    Compiling winrt_macros v0.1.0 (https://github.com/microsoft/winrt-rs#a036b8e6)
[INFO] [stderr]    Compiling winrt v0.1.0 (https://github.com/microsoft/winrt-rs#a036b8e6)
[INFO] [stderr]    Compiling wgc-rust-demo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: proc macro panicked
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / winrt::import!(
[INFO] [stdout] 2 | |     dependencies
[INFO] [stdout] 3 | |         "os"
[INFO] [stdout] 4 | |     modules
[INFO] [stdout] ... |
[INFO] [stdout] 8 | |         "windows.graphics.directx.direct3d11"
[INFO] [stdout] 9 | | );
[INFO] [stdout]   | |__^
[INFO] [stdout]   |
[INFO] [stdout]   = help: message: No `windir` environment variable found
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/capture.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::shared::windef::{HMONITOR, HWND};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/d3d.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     shared::{
[INFO] [stdout]   |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/d3d.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     um::d3d11::{
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/displays.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     shared::{
[INFO] [stdout]   |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/displays.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     um::winuser::{EnumDisplayMonitors, GetMonitorInfoW, MONITORINFOEXW},
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/encoder.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     shared::dxgiformat::DXGI_FORMAT_B8G8R8A8_UNORM,
[INFO] [stdout]   |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/encoder.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     um::d3d11::{
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/snapshot.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::d3d11::{D3D11_CPU_ACCESS_READ, D3D11_USAGE_STAGING};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/window_finder.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     shared::{
[INFO] [stdout]   |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/window_finder.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     um::{
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 | use winapi::um::winuser::{
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in the crate root
[INFO] [stdout]  --> src/capture.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::windows::graphics::capture::GraphicsCaptureItem;
[INFO] [stdout]   |            ^^^^^^^ could not find `windows` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in the crate root
[INFO] [stdout]  --> src/d3d.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::windows::graphics::directx::direct3d11::{IDirect3DDevice, IDirect3DSurface};
[INFO] [stdout]   |            ^^^^^^^ could not find `windows` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in the crate root
[INFO] [stdout]  --> src/encoder.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::windows::graphics::directx::direct3d11::{IDirect3DDevice, IDirect3DSurface};
[INFO] [stdout]   |            ^^^^^^^ could not find `windows` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in the crate root
[INFO] [stdout]  --> src/snapshot.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::windows::graphics::capture::{Direct3D11CaptureFramePool, GraphicsCaptureItem};
[INFO] [stdout]   |            ^^^^^^^ could not find `windows` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in the crate root
[INFO] [stdout]  --> src/snapshot.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::windows::graphics::directx::direct3d11::{IDirect3DDevice, IDirect3DSurface};
[INFO] [stdout]   |            ^^^^^^^ could not find `windows` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in the crate root
[INFO] [stdout]  --> src/snapshot.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::windows::graphics::directx::DirectXPixelFormat;
[INFO] [stdout]   |            ^^^^^^^ could not find `windows` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `windows`
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use windows::graphics::capture::GraphicsCaptureItem;
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GraphicsCaptureItem`
[INFO] [stdout]   --> src/capture.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 &GraphicsCaptureItem::IID,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^ use of undeclared type `GraphicsCaptureItem`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GraphicsCaptureItem`
[INFO] [stdout]   --> src/capture.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 65 |                 &GraphicsCaptureItem::IID,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^ use of undeclared type `GraphicsCaptureItem`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `D3D11_TEXTURE2D_DESC`
[INFO] [stdout]    --> src/d3d.rs:374:30
[INFO] [stdout]     |
[INFO] [stdout] 374 |             let mut result = D3D11_TEXTURE2D_DESC::default();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `D3D11_TEXTURE2D_DESC`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MONITORINFOEXW`
[INFO] [stdout]   --> src/displays.rs:16:28
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut monitor_info = MONITORINFOEXW::default();
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^ use of undeclared type `MONITORINFOEXW`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `D3D11_MAPPED_SUBRESOURCE`
[INFO] [stdout]   --> src/encoder.rs:45:22
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut mapped = D3D11_MAPPED_SUBRESOURCE::default();
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `D3D11_MAPPED_SUBRESOURCE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in the crate root
[INFO] [stdout]  --> src/snapshot.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 |     crate::windows::foundation::TypedEventHandler<Direct3D11CaptureFramePool, winrt::Object>;
[INFO] [stdout]   |            ^^^^^^^ could not find `windows` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direct3D11CaptureFramePool`
[INFO] [stdout]   --> src/snapshot.rs:26:26
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let frame_pool = Direct3D11CaptureFramePool::create_free_threaded(
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `Direct3D11CaptureFramePool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DirectXPixelFormat`
[INFO] [stdout]   --> src/snapshot.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             DirectXPixelFormat::B8G8R8A8UIntNormalized,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^ use of undeclared type `DirectXPixelFormat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/capture.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         HWND,
[INFO] [stdout]    |         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stdout]   --> src/capture.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         HMONITOR,
[INFO] [stdout]    |         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stdout]   --> src/capture.rs:35:47
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn create_for_monitor(&self, monitor: HMONITOR) -> winrt::Result<GraphicsCaptureItem> {
[INFO] [stdout]    |                                               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GraphicsCaptureItem` in this scope
[INFO] [stdout]   --> src/capture.rs:35:74
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl GraphicsCaptureItemInterop {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<GraphicsCaptureItem>`
[INFO] [stdout] 35 |     pub fn create_for_monitor(&self, monitor: HMONITOR) -> winrt::Result<GraphicsCaptureItem> {
[INFO] [stdout]    |                                                                          ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GraphicsCaptureItem` in this scope
[INFO] [stdout]   --> src/capture.rs:41:29
[INFO] [stdout]    |
[INFO] [stdout] 41 |             let mut result: GraphicsCaptureItem = std::mem::zeroed();
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/capture.rs:54:45
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn create_for_window(&self, window: HWND) -> winrt::Result<GraphicsCaptureItem> {
[INFO] [stdout]    |                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GraphicsCaptureItem` in this scope
[INFO] [stdout]   --> src/capture.rs:54:68
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl GraphicsCaptureItemInterop {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<GraphicsCaptureItem>`
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn create_for_window(&self, window: HWND) -> winrt::Result<GraphicsCaptureItem> {
[INFO] [stdout]    |                                                                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GraphicsCaptureItem` in this scope
[INFO] [stdout]   --> src/capture.rs:60:29
[INFO] [stdout]    |
[INFO] [stdout] 60 |             let mut result: GraphicsCaptureItem = std::mem::zeroed();
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stdout]   --> src/capture.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn create_capture_item_for_monitor(monitor: HMONITOR) -> winrt::Result<GraphicsCaptureItem> {
[INFO] [stdout]    |                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GraphicsCaptureItem` in this scope
[INFO] [stdout]   --> src/capture.rs:74:76
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn create_capture_item_for_monitor(monitor: HMONITOR) -> winrt::Result<GraphicsCaptureItem> {
[INFO] [stdout]    |                                       -                                    ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       help: you might be missing a type parameter: `<GraphicsCaptureItem>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GraphicsCaptureItem` in this scope
[INFO] [stdout]   --> src/capture.rs:75:48
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn create_capture_item_for_monitor(monitor: HMONITOR) -> winrt::Result<GraphicsCaptureItem> {
[INFO] [stdout]    |                                       - help: you might be missing a type parameter: `<GraphicsCaptureItem>`
[INFO] [stdout] 75 |     let factory = winrt::activation::factory::<GraphicsCaptureItem, winrt::IActivationFactory>()?;
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/capture.rs:81:47
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub fn create_capture_item_for_window(window: HWND) -> winrt::Result<GraphicsCaptureItem> {
[INFO] [stdout]    |                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GraphicsCaptureItem` in this scope
[INFO] [stdout]   --> src/capture.rs:81:70
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub fn create_capture_item_for_window(window: HWND) -> winrt::Result<GraphicsCaptureItem> {
[INFO] [stdout]    |                                      -                               ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      help: you might be missing a type parameter: `<GraphicsCaptureItem>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GraphicsCaptureItem` in this scope
[INFO] [stdout]   --> src/capture.rs:82:48
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub fn create_capture_item_for_window(window: HWND) -> winrt::Result<GraphicsCaptureItem> {
[INFO] [stdout]    |                                      - help: you might be missing a type parameter: `<GraphicsCaptureItem>`
[INFO] [stdout] 82 |     let factory = winrt::activation::factory::<GraphicsCaptureItem, winrt::IActivationFactory>()?;
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11Texture2DVtbl` in this scope
[INFO] [stdout]   --> src/d3d.rs:63:19
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct D3D11Texture2D {
[INFO] [stdout]    | ------------------------- similarly named struct `D3D11Texture2D` defined here
[INFO] [stdout] ...
[INFO] [stdout] 63 |     type VTable = ID3D11Texture2DVtbl;
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Texture2D`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11DeviceVtbl` in this scope
[INFO] [stdout]   --> src/d3d.rs:79:19
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub struct D3D11Device {
[INFO] [stdout]    | ---------------------- similarly named struct `D3D11Device` defined here
[INFO] [stdout] ...
[INFO] [stdout] 79 |     type VTable = ID3D11DeviceVtbl;
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11Device`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11DeviceContextVtbl` in this scope
[INFO] [stdout]   --> src/d3d.rs:95:19
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub struct D3D11DeviceContext {
[INFO] [stdout]    | ----------------------------- similarly named struct `D3D11DeviceContext` defined here
[INFO] [stdout] ...
[INFO] [stdout] 95 |     type VTable = ID3D11DeviceContextVtbl;
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `D3D11DeviceContext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDXGISurfaceVtbl` in this scope
[INFO] [stdout]    --> src/d3d.rs:111:19
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub struct DXGISurface {
[INFO] [stdout]     | ---------------------- similarly named struct `DXGISurface` defined here
[INFO] [stdout] ...
[INFO] [stdout] 111 |     type VTable = IDXGISurfaceVtbl;
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DXGISurface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDXGIDeviceVtbl` in this scope
[INFO] [stdout]    --> src/d3d.rs:127:19
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub struct DXGIDevice {
[INFO] [stdout]     | --------------------- similarly named struct `DXGIDevice` defined here
[INFO] [stdout] ...
[INFO] [stdout] 127 |     type VTable = IDXGIDeviceVtbl;
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DXGIDevice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope
[INFO] [stdout]    --> src/d3d.rs:137:40
[INFO] [stdout]     |
[INFO] [stdout] 137 |     fn get_d3d_resource(&self) -> *mut ID3D11Resource;
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ID3D11Resource` in this scope
[INFO] [stdout]    --> src/d3d.rs:141:40
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub trait D3D11Resource {
[INFO] [stdout]     | ----------------------- similarly named trait `D3D11Resource` defined here
[INFO] [stdout] ...
[INFO] [stdout] 141 |     fn get_d3d_resource(&self) -> *mut ID3D11Resource {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ help: a trait with a similar name exists: `D3D11Resource`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DDevice` in this scope
[INFO] [stdout]    --> src/d3d.rs:151:32
[INFO] [stdout]     |
[INFO] [stdout] 151 |         graphics_device: *mut <IDirect3DDevice as RuntimeType>::Abi,
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DSurface` in this scope
[INFO] [stdout]    --> src/d3d.rs:159:33
[INFO] [stdout]     |
[INFO] [stdout] 159 |         graphics_surface: *mut <IDirect3DSurface as RuntimeType>::Abi,
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DDevice` in this scope
[INFO] [stdout]    --> src/d3d.rs:175:42
[INFO] [stdout]     |
[INFO] [stdout] 175 |     pub fn from_direct3d_device(device: &IDirect3DDevice) -> winrt::Result<Self> {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_CREATE_DEVICE_BGRA_SUPPORT` in this scope
[INFO] [stdout]    --> src/d3d.rs:181:21
[INFO] [stdout]     |
[INFO] [stdout] 181 |         let flags = D3D11_CREATE_DEVICE_BGRA_SUPPORT;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D11CreateDevice` in this scope
[INFO] [stdout]    --> src/d3d.rs:184:30
[INFO] [stdout]     |
[INFO] [stdout] 184 |             winrt::ErrorCode(D3D11CreateDevice(
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_SDK_VERSION` in this scope
[INFO] [stdout]    --> src/d3d.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 191 |                 D3D11_SDK_VERSION,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DXGI_ERROR_UNSUPPORTED` in this scope
[INFO] [stdout]    --> src/d3d.rs:207:38
[INFO] [stdout]     |
[INFO] [stdout] 207 |                 if error.code().0 == DXGI_ERROR_UNSUPPORTED {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DDevice` in this scope
[INFO] [stdout]    --> src/d3d.rs:216:55
[INFO] [stdout]     |
[INFO] [stdout] 174 | impl D3D11Device {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<IDirect3DDevice>`
[INFO] [stdout] ...
[INFO] [stdout] 216 |     pub fn to_direct3d_device(&self) -> winrt::Result<IDirect3DDevice> {
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DDevice` in this scope
[INFO] [stdout]    --> src/d3d.rs:224:29
[INFO] [stdout]     |
[INFO] [stdout] 224 |             let mut result: IDirect3DDevice = std::mem::zeroed();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `D3D11_TEXTURE2D_DESC` in this scope
[INFO] [stdout]    --> src/d3d.rs:232:16
[INFO] [stdout]     |
[INFO] [stdout] 232 |         desc: &D3D11_TEXTURE2D_DESC,
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `D3D11_SUBRESOURCE_DATA` in this scope
[INFO] [stdout]    --> src/d3d.rs:233:31
[INFO] [stdout]     |
[INFO] [stdout] 174 | impl D3D11Device {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<D3D11_SUBRESOURCE_DATA>`
[INFO] [stdout] ...
[INFO] [stdout] 233 |         initial_data: Option<&D3D11_SUBRESOURCE_DATA>,
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `D3D11_MAP` in this scope
[INFO] [stdout]    --> src/d3d.rs:279:19
[INFO] [stdout]     |
[INFO] [stdout] 279 |         map_type: D3D11_MAP,
[INFO] [stdout]     |                   ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `D3D11_MAPPED_SUBRESOURCE` in this scope
[INFO] [stdout]    --> src/d3d.rs:281:31
[INFO] [stdout]     |
[INFO] [stdout] 281 |         mapped_resource: &mut D3D11_MAPPED_SUBRESOURCE,
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DSurface` in this scope
[INFO] [stdout]    --> src/d3d.rs:347:44
[INFO] [stdout]     |
[INFO] [stdout] 347 |     pub fn from_direct3d_surface(surface: &IDirect3DSurface) -> winrt::Result<Self> {
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DSurface` in this scope
[INFO] [stdout]    --> src/d3d.rs:352:56
[INFO] [stdout]     |
[INFO] [stdout] 346 | impl D3D11Texture2D {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<IDirect3DSurface>`
[INFO] [stdout] ...
[INFO] [stdout] 352 |     pub fn to_direct3d_surface(&self) -> winrt::Result<IDirect3DSurface> {
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DSurface` in this scope
[INFO] [stdout]    --> src/d3d.rs:360:29
[INFO] [stdout]     |
[INFO] [stdout] 360 |             let mut result: IDirect3DSurface = std::mem::zeroed();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `D3D11_TEXTURE2D_DESC` in this scope
[INFO] [stdout]    --> src/d3d.rs:367:31
[INFO] [stdout]     |
[INFO] [stdout] 367 |     pub fn get_desc(&self) -> D3D11_TEXTURE2D_DESC {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stdout]   --> src/displays.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub handle: HMONITOR,
[INFO] [stdout]    |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stdout]   --> src/displays.rs:15:41
[INFO] [stdout]    |
[INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL {
[INFO] [stdout]    |                                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stdout]   --> src/displays.rs:15:54
[INFO] [stdout]    |
[INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPRECT` in this scope
[INFO] [stdout]   --> src/displays.rs:15:62
[INFO] [stdout]    |
[INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]   --> src/displays.rs:15:78
[INFO] [stdout]    |
[INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/displays.rs:15:89
[INFO] [stdout]    |
[INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope
[INFO] [stdout]   --> src/displays.rs:17:47
[INFO] [stdout]    |
[INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL {
[INFO] [stdout]    |                                - help: you might be missing a type parameter: `<MONITORINFOEXW>`
[INFO] [stdout] 16 |     let mut monitor_info = MONITORINFOEXW::default();
[INFO] [stdout] 17 |     monitor_info.cbSize = std::mem::size_of::<MONITORINFOEXW>() as u32;
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMonitorInfoW` in this scope
[INFO] [stdout]   --> src/displays.rs:19:27
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let result = unsafe { GetMonitorInfoW(handle, &mut monitor_info as *mut _ as *mut _) };
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]   --> src/displays.rs:36:42
[INFO] [stdout]    |
[INFO] [stdout] 15 | extern "system" fn enum_monitor(handle: HMONITOR, _: HDC, _: LPRECT, lparam: LPARAM) -> BOOL {
[INFO] [stdout]    |                                - help: you might be missing a type parameter: `<LPARAM>`
[INFO] [stdout] ...
[INFO] [stdout] 36 |         let list = std::mem::transmute::<LPARAM, *mut Vec<DisplayInfo>>(lparam);
[INFO] [stdout]    |                                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplayMonitors` in this scope
[INFO] [stdout]   --> src/displays.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         EnumDisplayMonitors(
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DDevice` in this scope
[INFO] [stdout]   --> src/encoder.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |     device: &IDirect3DDevice,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DSurface` in this scope
[INFO] [stdout]   --> src/encoder.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 |     surface: &IDirect3DSurface,
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_USAGE_STAGING` in this scope
[INFO] [stdout]   --> src/encoder.rs:34:40
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let d3d_texture = if desc.Usage == D3D11_USAGE_STAGING {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_CPU_ACCESS_READ` in this scope
[INFO] [stdout]   --> src/encoder.rs:35:35
[INFO] [stdout]    |
[INFO] [stdout] 35 |         if (desc.CPUAccessFlags & D3D11_CPU_ACCESS_READ) == D3D11_CPU_ACCESS_READ {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_CPU_ACCESS_READ` in this scope
[INFO] [stdout]   --> src/encoder.rs:35:61
[INFO] [stdout]    |
[INFO] [stdout] 35 |         if (desc.CPUAccessFlags & D3D11_CPU_ACCESS_READ) == D3D11_CPU_ACCESS_READ {
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_MAP_READ` in this scope
[INFO] [stdout]   --> src/encoder.rs:46:38
[INFO] [stdout]    |
[INFO] [stdout] 46 |     d3d_context.map(&d3d_texture, 0, D3D11_MAP_READ, 0, &mut mapped)?;
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Direct3D11CaptureFramePool` in this scope
[INFO] [stdout]  --> src/snapshot.rs:9:51
[INFO] [stdout]   |
[INFO] [stdout] 8 | type FrameArrivedHandler =
[INFO] [stdout]   |                         - help: you might be missing a type parameter: `<Direct3D11CaptureFramePool>`
[INFO] [stdout] 9 |     crate::windows::foundation::TypedEventHandler<Direct3D11CaptureFramePool, winrt::Object>;
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DDevice` in this scope
[INFO] [stdout]   --> src/snapshot.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 |         device: &IDirect3DDevice,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GraphicsCaptureItem` in this scope
[INFO] [stdout]   --> src/snapshot.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |         item: &GraphicsCaptureItem,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IDirect3DSurface` in this scope
[INFO] [stdout]   --> src/snapshot.rs:20:24
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl CaptureSnapshot {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<IDirect3DSurface>`
[INFO] [stdout] ...
[INFO] [stdout] 20 |     ) -> winrt::Result<IDirect3DSurface> {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_USAGE_STAGING` in this scope
[INFO] [stdout]   --> src/snapshot.rs:49:30
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 desc.Usage = D3D11_USAGE_STAGING;
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `D3D11_CPU_ACCESS_READ` in this scope
[INFO] [stdout]   --> src/snapshot.rs:51:39
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 desc.CPUAccessFlags = D3D11_CPU_ACCESS_READ;
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/window_finder.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub handle: HWND,
[INFO] [stdout]    |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/window_finder.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn get_shell_window() -> HWND {
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetShellWindow` in this scope
[INFO] [stdout]   --> src/window_finder.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |     unsafe { GetShellWindow() }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/window_finder.rs:28:30
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn is_window_visible(window: HWND) -> bool {
[INFO] [stdout]    |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindowVisible` in this scope
[INFO] [stdout]   --> src/window_finder.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |     unsafe { IsWindowVisible(window) == 1 }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/window_finder.rs:32:27
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn is_root_window(window: HWND) -> bool {
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAncestor` in this scope
[INFO] [stdout]   --> src/window_finder.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |     unsafe { GetAncestor(window, GA_ROOT) == window }
[INFO] [stdout]    |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GA_ROOT` in this scope
[INFO] [stdout]   --> src/window_finder.rs:33:34
[INFO] [stdout]    |
[INFO] [stdout] 33 |     unsafe { GetAncestor(window, GA_ROOT) == window }
[INFO] [stdout]    |                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongW` in this scope
[INFO] [stdout]   --> src/window_finder.rs:59:26
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let style = unsafe { GetWindowLongW(window.handle, GWL_STYLE) as u32 };
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope
[INFO] [stdout]   --> src/window_finder.rs:59:56
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let style = unsafe { GetWindowLongW(window.handle, GWL_STYLE) as u32 };
[INFO] [stdout]    |                                                        ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_DISABLED` in this scope
[INFO] [stdout]   --> src/window_finder.rs:60:16
[INFO] [stdout]    |
[INFO] [stdout] 60 |     if style & WS_DISABLED > 0 {
[INFO] [stdout]    |                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongW` in this scope
[INFO] [stdout]   --> src/window_finder.rs:64:29
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let ex_style = unsafe { GetWindowLongW(window.handle, GWL_EXSTYLE) as u32 };
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GWL_EXSTYLE` in this scope
[INFO] [stdout]   --> src/window_finder.rs:64:59
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let ex_style = unsafe { GetWindowLongW(window.handle, GWL_EXSTYLE) as u32 };
[INFO] [stdout]    |                                                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_EX_TOOLWINDOW` in this scope
[INFO] [stdout]   --> src/window_finder.rs:65:19
[INFO] [stdout]    |
[INFO] [stdout] 65 |     if ex_style & WS_EX_TOOLWINDOW > 0 {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DwmGetWindowAttribute` in this scope
[INFO] [stdout]   --> src/window_finder.rs:74:30
[INFO] [stdout]    |
[INFO] [stdout] 74 |             winrt::ErrorCode(DwmGetWindowAttribute(
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DWMWA_CLOAKED` in this scope
[INFO] [stdout]   --> src/window_finder.rs:76:17
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 DWMWA_CLOAKED,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/window_finder.rs:78:37
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn is_capturable_window(window: &WindowInfo) -> bool {
[INFO] [stdout]    |                        - help: you might be missing a type parameter: `<DWORD>`
[INFO] [stdout] ...
[INFO] [stdout] 78 |                 std::mem::size_of::<DWORD>() as u32,
[INFO] [stdout]    |                                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DWM_CLOAKED_SHELL` in this scope
[INFO] [stdout]   --> src/window_finder.rs:83:27
[INFO] [stdout]    |
[INFO] [stdout] 83 |             if cloaked == DWM_CLOAKED_SHELL {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/window_finder.rs:96:40
[INFO] [stdout]    |
[INFO] [stdout] 96 | extern "system" fn enum_window(handle: HWND, lparam: LPARAM) -> BOOL {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]   --> src/window_finder.rs:96:54
[INFO] [stdout]    |
[INFO] [stdout] 96 | extern "system" fn enum_window(handle: HWND, lparam: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/window_finder.rs:96:65
[INFO] [stdout]    |
[INFO] [stdout] 96 | extern "system" fn enum_window(handle: HWND, lparam: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthW` in this scope
[INFO] [stdout]   --> src/window_finder.rs:97:39
[INFO] [stdout]    |
[INFO] [stdout] 97 |     let window_text_length = unsafe { GetWindowTextLengthW(handle) };
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope
[INFO] [stdout]    --> src/window_finder.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |             GetWindowTextW(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClassNameW` in this scope
[INFO] [stdout]    --> src/window_finder.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |             GetClassNameW(handle, text_array.as_mut_ptr() as *mut _, class_text_length);
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]    --> src/window_finder.rs:130:46
[INFO] [stdout]     |
[INFO] [stdout] 96  | extern "system" fn enum_window(handle: HWND, lparam: LPARAM) -> BOOL {
[INFO] [stdout]     |                               - help: you might be missing a type parameter: `<LPARAM>`
[INFO] [stdout] ...
[INFO] [stdout] 130 |             let list = std::mem::transmute::<LPARAM, *mut Vec<WindowInfo>>(lparam);
[INFO] [stdout]     |                                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleTitleW` in this scope
[INFO] [stdout]    --> src/window_finder.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 |         GetConsoleTitleW(text_array.as_mut_ptr() as *mut _, console_title_length);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleTitleW` in this scope
[INFO] [stdout]    --> src/window_finder.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |         SetConsoleTitleW(new_console_title.as_mut_ptr() as *mut _);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope
[INFO] [stdout]    --> src/window_finder.rs:159:27
[INFO] [stdout]     |
[INFO] [stdout] 159 |     let result = unsafe { EnumWindows(Some(enum_window), &mut window_list as *mut _ as _) };
[INFO] [stdout]     |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleTitleW` in this scope
[INFO] [stdout]    --> src/window_finder.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |         SetConsoleTitleW(new_console_title.as_mut_ptr() as *mut _);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GraphicsCaptureItem` in this scope
[INFO] [stdout]   --> src/main.rs:79:73
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn get_capture_item_from_matches(matches: &ArgMatches) -> winrt::Result<GraphicsCaptureItem> {
[INFO] [stdout]    |                                 -                                       ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 help: you might be missing a type parameter: `<GraphicsCaptureItem>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope
[INFO] [stdout]   --> src/main.rs:98:30
[INFO] [stdout]    |
[INFO] [stdout] 98 |                     unsafe { GetWindowThreadProcessId(window.handle, &mut pid) };
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MonitorFromWindow` in this scope
[INFO] [stdout]    --> src/main.rs:148:32
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let monitor = unsafe { MonitorFromWindow(GetDesktopWindow(), MONITOR_DEFAULTTOPRIMARY) };
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDesktopWindow` in this scope
[INFO] [stdout]    --> src/main.rs:148:50
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let monitor = unsafe { MonitorFromWindow(GetDesktopWindow(), MONITOR_DEFAULTTOPRIMARY) };
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MONITOR_DEFAULTTOPRIMARY` in this scope
[INFO] [stdout]    --> src/main.rs:148:70
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let monitor = unsafe { MonitorFromWindow(GetDesktopWindow(), MONITOR_DEFAULTTOPRIMARY) };
[INFO] [stdout]     |                                                                      ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ComInterface`
[INFO] [stdout]  --> src/capture.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winrt::{ComInterface, Guid, TryInto};
[INFO] [stdout]   |             ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 121 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wgc-rust-demo`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "93a5c74f9d3a0d29cebc56b5b391c8cc45b2a06a91d0c1c0ba9251feb139b5ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93a5c74f9d3a0d29cebc56b5b391c8cc45b2a06a91d0c1c0ba9251feb139b5ba", kill_on_drop: false }`
[INFO] [stdout] 93a5c74f9d3a0d29cebc56b5b391c8cc45b2a06a91d0c1c0ba9251feb139b5ba
